]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Unset visibleTarget on gesture end
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 26 Feb 2021 21:55:57 +0000 (22:55 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Mar 2021 13:38:42 +0000 (13:38 +0000)
The property describes the target visibility (that is, the visibility
that will be set after the ongoing transition), and is therefore updated
at the start of the transition rather than from hideDone().

The overview gesture currently misses resetting it at the end, so it
is only updated to the correct state the next time the overview is
entered.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3798

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1726>

js/ui/overview.js

index 3f881da57ffef60e4e6911687eda19389229b7c4..ac1a349da6d47f1ca742a7fb840ae195fdb686bc 100644 (file)
@@ -396,6 +396,7 @@ var Overview = class {
         let onComplete;
         if (endProgress === 0) {
             this._shown = false;
+            this._visibleTarget = false;
             this.emit('hiding');
             Main.panel.style = 'transition-duration: %dms;'.format(duration);
             onComplete = () => this._hideDone();